﻿using System;

namespace Birkelund.QueryStrings
{
    /// <summary>
    /// Factory to create IUriWriter
    /// </summary>
    public static class UriWriterFactory
    {
        [Obsolete("Use this instead: UriWriter.CreateFromCurrentUri", true)]
        public static IUriWriter CreateFromCurrentUri()
        {
            throw new NotSupportedException();
        }

        [Obsolete("Use this instead: UriWriter.CreateFromUri", true)]
        public static IUriWriter CreateFromUri(Uri uri)
        {
            throw new NotSupportedException();
        }

        [Obsolete("Use this instead: UriWriter.CreateFromUri", true)]
        public static IUriWriter CreateFromUri(string uri)
        {
            throw new NotSupportedException();
        }

        [Obsolete("Use this instead: UriWriter.CreateEmptyFromUri", true)]
        public static IUriWriter CreateEmptyFromUri(Uri uri)
        {
            throw new NotSupportedException();
        }

        [Obsolete("Use this instead: UriWriter.CreateEmptyFromUri", true)]
        public static IUriWriter CreateEmptyFromUri(string uri)
        {
            throw new NotSupportedException();
        }

        [Obsolete("Use this instead: UriWriter.CreateEmptyFromCurrentUri", true)]
        public static IUriWriter CreateEmptyFromCurrentUri()
        {
            throw new NotSupportedException();
        }
    }
}
